mfrac: fraction.o  mainfraction.o fraction.h
	g++  fraction.o  mainfraction.o  -o mfrac

fraction.o: fraction.cpp fraction.h
	g++ -c fraction.cpp

mainfraction.o: mainfraction.cpp fraction.h
	g++ -c mainfraction.cpp